package com.wangxiaonan.speculation.service;

import com.alibaba.fastjson.JSONArray;
import java.util.List;
import java.util.Map;
import java.util.Set;

/**
 * @Author: wangxiaonan
 * @Date: 2019/7/4
 **/
public interface QueryService {

    JSONArray queryChartData(String query, Set<String> indicesName, Set<String> typesName);

    <T> List<T> queryChartData(Class<T> clazz, Map<String, String> param, Set<String> indicesName,
            Set<String> typesName);

}
